home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP Şubat 1998.iso / drivers / YAZICI / HP / LASERJET / 5SIXX / WIN95 / LJ146GE.EXE / DISK1 / SUPPORT.IN_ / SUPPORT.IN
Encoding:
Text File  |  1996-10-01  |  3.6 KB  |  97 lines

  1. '$IFNDEF SUPPORT_INCLUDED
  2. '$DEFINE SUPPORT_INCLUDED
  3.  
  4. CONST MAX_PATH     =      260
  5. CONST MAX_PORT     =       100     '' Guess only
  6. CONST MAX_DEVICE_MODEL =   100     '' Guess only
  7. CONST MAX_DRIVE =   3
  8.  
  9. CONST IM_COMPLETE  =  0
  10. CONST IM_CUSTOM    =      1
  11. CONST IM_NETADMIN  =  2
  12.  
  13. CONST IT_STANDALONE=  0
  14. CONST IT_NETWORK   =  1
  15.  
  16. '' make sure these numbers match the ones in the infoerr.h file
  17. CONST c_iDO_NET_ADMIN = 13
  18.  
  19. TYPE RUNTIME
  20.     iInstallMethod as integer
  21.     lpszPort as Pointer TO STRING * MAX_PORT
  22.     bHasBidi as integer
  23.     lpszDeviceID as Pointer TO STRING * MAX_DEVICE_MODEL   '' Device on port (maybe null string)
  24.     lpszPrinterName as Pointer TO STRING * MAX_DEVICE_MODEL '' Name of the printer
  25.     bReboot  as integer
  26. END TYPE
  27.  
  28. TYPE ENVIRONMENT
  29.     iOSMajor as integer
  30.     iOSMinor as integer
  31.     iOSIsNT as integer
  32.     szTempDir as pointer to STRING * MAX_PATH
  33.     szWindowsDir as pointer TO STRING * MAX_PATH
  34.     szSystemDir as pointer to STRING * MAX_PATH
  35.     szWindowsDrive as pointer to STRING * MAX_DRIVE
  36.     szSystemDrive as pointer to STRING * MAX_DRIVE
  37.     iDisplayX as integer
  38.     iDisplayY as integer
  39.     iInstallType  as integer
  40.     runTime as RUNTIME
  41. END TYPE
  42.  
  43. '' Make sure these numbers match the ones in the vercheck.cpp file
  44. const   c_iVERSION_1_NEWER%         = 100
  45. const   c_iVERSION_1_NOT_FOUND%     = 101
  46. const   c_iVERSION_1_2_SAME%        = 200
  47. const   c_iVERSION_1_2_NOT_FOUND%   = 201
  48. const   c_iVERSION_1_2_NO_VERSION%  = 202
  49. const   c_iVERSION_2_NEWER%         = 300
  50. const   c_iVERSION_2_NOT_FOUND%     = 301
  51.  
  52.  
  53. declare function GetInstallString lib "support.dll" ( iStringId as integer, szListName$) as integer
  54. declare function GetInstallEnvironment lib "support.dll" () as pointer to ENVIRONMENT
  55. declare function FixMainWindow lib "support.dll" ( hWndFrame as integer ) as integer
  56.  
  57. declare function ReadAllFileGroups lib "support.dll" () as integer
  58. declare function CleanTempDir lib "support.dll" (szDir$) as integer
  59.  
  60. ''$IFDEF LOG_PROTO
  61. declare function GetSystemLogFile lib "support.dll" () as integer
  62. ''$ENDIF
  63.  
  64. declare function IsSupportedPrinterAttached lib "support.dll" (ipCount as pointer to integer) as integer
  65.  
  66. declare function SetSelectionsForPrinter lib "support.dll" () as integer
  67.  
  68. declare function Initialize lib "support.dll"  () as integer
  69. declare function Cleanup lib "support.dll" () as integer
  70.  
  71. declare function IsCurrentPrinterPostScript lib "support.dll" () as integer
  72.  
  73. declare function BidiReady lib "support.dll" () as long
  74. declare function CheckBidi lib "support.dll" () as integer
  75. declare function IsNetworked lib "support.dll" () as integer
  76.  
  77. declare function ReadInfoFile lib "support.dll" (iProcessor%) as integer
  78. declare function ReleaseInfoFile lib "support.dll" () as integer
  79.  
  80. declare function GetTaskCount lib "support.dll" () as integer
  81.  
  82. declare function Copy32BitFiles lib "support.dll" () as integer
  83.  
  84. declare function TestBidi lib "support.dll" (lpszPort as any) as integer
  85.  
  86. declare function IsPrinterSupported lib "support.dll" ( lpszPrinterID$  ) as integer
  87. declare function GetPrinterCount lib "support.dll" () as integer
  88.  
  89. declare function IsComponentSelected lib "support.dll" (lpszTitle$) as integer
  90. declare function PutComponentsInCopyList lib "support.dll" (lpszSection$, lpszComponent$) as integer
  91. declare function IniActionUpdate lib "support.dll" () as integer
  92. declare function GetComponentDir lib "support.dll" (lpszCompSectionName$, lpszDir$) as integer
  93.  
  94. declare function AnyComponentsSelected lib "support.dll" () as integer
  95. declare function InstallOnThisOS lib "support.dll" () as integer
  96. '$ENDIF
  97.